<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>Home - Documentation</title>

    <script src="scripts/prettify/prettify.js"></script>
    <script src="scripts/prettify/lang-css.js"></script>
    <!--[if lt IE 9]>
      <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <link type="text/css" rel="stylesheet" href="styles/prettify.css">
    <link type="text/css" rel="stylesheet" href="styles/jsdoc.css">
</head>
<body>

<input type="checkbox" id="nav-trigger" class="nav-trigger" />
<label for="nav-trigger" class="navicon-button x">
  <div class="navicon"></div>
</label>

<label for="nav-trigger" class="overlay"></label>

<nav>
    <h2><a href="index.html">Home</a></h2><h3>Externals</h3><ul><li><a href="external-EventEmitter.html">EventEmitter</a></li></ul><h3>Events</h3><ul><li><a href="external-EventEmitter.html#event:error">error</a></li></ul><h3>Namespaces</h3><ul><li><a href="Express.html">Express</a><ul class='methods'><li data-type='method'><a href="Express.html#.Router">Router</a></li></ul></li></ul><h3>Global</h3><ul><li><a href="global.html#exports">exports</a></li></ul>
</nav>

<div id="main">

    <section class="readme">
        <article><h1>Express-GitHub</h1><p><a href="http://expressjs.com/en/guide/using-middleware.html">Express middleware</a> for
<a href="https://developer.github.com/v3/">GitHub API v3</a></p>
<p><a href="https://david-dm.org/TechQuery/Express-GitHub"><img src="https://david-dm.org/TechQuery/Express-GitHub.svg" alt="NPM Dependency"></a></p>
<p><a href="https://nodei.co/npm/express-github/"><img src="https://nodei.co/npm/express-github.png?downloads=true&amp;downloadRank=true&amp;stars=true" alt="NPM"></a></p>
<p><a target='_blank' rel='nofollow' href='https://app.codesponsor.io/link/terHRJgDULkGjswWhddcBSDJ/TechQuery/Express-GitHub'>
  <img alt='Sponsor' width='888' height='68' src='https://app.codesponsor.io/embed/terHRJgDULkGjswWhddcBSDJ/TechQuery/Express-GitHub.svg' />
</a></p>
<h2>Feature</h2><ol>
<li><p><a href="https://oauth.net/2/"><strong>OAuth 2.0</strong></a> (Production Environment can be used for debugging of <code>localhost</code>)</p>
</li>
<li><p><strong>API Proxy</strong> (HTTP-only <strong>Cookie Session</strong> instead of Access Token is easy to use for Web front-end)</p>
</li>
<li><p>Wrapper APIs to get the <strong>Technique(Language) list</strong> of a User or Organization</p>
</li>
<li><p><strong>Diff to HTML</strong> (Get <code>/repos/:owner/:repo/pull/:pull_num.diff</code> with <code>Accept: text/html</code>, the Diff Code will be converted to HTML by <a href="https://diff2html.xyz/">diff2html</a>)</p>
</li>
<li><p>One <strong>Hook URL</strong> to receive all kinds of Event</p>
</li>
<li><p>3 APIs of <a href="https://developer.mozilla.org/en-US/docs/Web/API/Server-sent_events/Using_server-sent_events">Server-sent events</a> about Organization &amp; Repository</p>
</li>
</ol>
<h2>Usage</h2><ul>
<li><p><a href="https://techquery.github.io/Express-GitHub/">JS Document</a></p>
</li>
<li><p><a href="https://techquery.github.io/Express-GitHub/HTTP/">API Document</a></p>
</li>
<li><p><a href="https://github.com/FreeCodeCamp-Chengdu/GDN/blob/master/server/GitHub.js">Example</a></p>
</li>
</ul></article>
    </section>

</div>

<br class="clear">

<footer>
    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> using the <a href="https://github.com/clenemt/docdash">docdash</a> theme.
</footer>

<script>prettyPrint();</script>
<script src="scripts/linenumber.js"></script>
</body>
</html>